<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <meta name="google" content="notranslate">
  <title>网站标题 &middot; </title>
  <meta name="keywords" content="关键字">
  <meta name="description" content="介绍">
  <meta name="author" content="网站作者">
  <link rel="icon" type="image/png" href="#">
  <link rel="stylesheet" href="static/css/diaspora.css">
  <link rel="stylesheet" href="static/css/insight.css">
  <link rel="stylesheet" href="static/css/custom.css">
</head>
<body>
<div id="single">
    <div id="top" style="display: block;">
        <div class="bar">
        </div>
        <a class="icon-icon" href="javascript:history.back()">
        </a>
        <div title="播放/暂停" class="icon-play">
        </div>
        <!-- <div title="查看壁纸" class="icon-images"></div> -->
        <h3 class="subtitle" style="display: none;">
        文章标题</h3>
        <div class="social">
            <div>
                <div class="share">
                    <a title="获取二维码" class="icon-wechat" href="javascript:;"></a>
                </div>
                <div id="qr"></div>
            </div>
        </div>
        <div class="scrollbar" style="width: 1.1636%;"></div>
    </div>
    <div class="section">
        <div class="article">
            <div>
                <h1 class="title">
                文章标题</h1>
                <div class="stuff">
                    <span>2020-03-20</span>
                    <ul class="post-tags-list">
                    	<li class="post-tags-list-item"><a class="post-tags-list-link" href="#">博客</a></li>
                    	<li class="post-tags-list-item"><a class="post-tags-list-link" href="#">工具</a></li>
                    </ul>
                </div>
                <div class="content">
                              <p>homestead.yaml</p>
<pre><div class="hljs"><code class="lang-yaml"><span class="hljs-comment">#在site下增加headers</span>
<span class="hljs-attr">      headers:</span> 
<span class="hljs-attr">        - key:</span> <span class="hljs-string">"Access-Control-Allow-Origin"</span>
<span class="hljs-attr">          value:</span> <span class="hljs-string">"*"</span>
<span class="hljs-attr">        - key:</span> <span class="hljs-string">"Access-Control-Allow-Headers"</span>
<span class="hljs-attr">          value:</span> <span class="hljs-string">"*"</span>
<span class="hljs-attr">        - key:</span> <span class="hljs-string">"Access-Control-Allow-Methods"</span>
<span class="hljs-attr">          value:</span> <span class="hljs-string">"*"</span>
<span class="hljs-attr">        - key:</span> <span class="hljs-string">"Access-Control-Allow-Content-Type"</span>
<span class="hljs-attr">          value:</span> <span class="hljs-string">"*"</span>
<span class="hljs-attr">        - key:</span> <span class="hljs-string">"Access-Control-Allow-Credentials"</span>
<span class="hljs-attr">          value:</span> <span class="hljs-string">"true"</span>
</code></div></pre>
<blockquote>
<p>将要修改type类型的sh文件中 headers 放到外边来 不然有的情况肯能不会生效</p>
</blockquote>
<pre><div class="hljs"><code class="lang-shell">    $headersTXT
    location / {
        try_files \$uri \$uri/ /index.php?\$query_string;
        
    } 
</code></div></pre>
                    <!--[if lt IE 9]>
                    <script>
                    document.createElement('audio');</script>
                    <![endif]-->
                    <audio id="audio" loop="1" preload="auto" style="width: 100%;" controls="controls">
                        <source type="audio/mpeg" src="static/mp3/街道的寂寞.mp3">
                        <a href="static/mp3/街道的寂寞.mp3">街道的寂寞.mp3</a>
                    </audio>
                </div>
                <div class="comment-wrap">

                </div>
            </div>
        </div>
    </div>

</div>


<p style="text-align: center;">
  <a style="color: inherit" target="_blank" href="https://github.com/honjun/hugo-theme-diaspora"></a>
</p>
<!-- <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> -->
<script>
(function (window) {
    var siteTitle = '标题';
    var INSIGHT_CONFIG = {
        TRANSLATION: {
            POSTS: '文章',
            TAGS: '便签',
        },
        ROOT_URL: 'http://pool.cc/html/',
        CONTENT_URL: 'static/lunr.json',
    };
    window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>
<script src="static/js/jquery.min.js"></script>
<script src="static/js/plugin.js"></script>
<script src="static/js/diaspora.js"></script>
<script src="static/js/custom.js"></script>
<script src="static/js/InsightSearch.js"></script>

</body>
</html>